/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mycompany.h2;

import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 *
 * @author Administrator
 */
@DatabaseTable(tableName ="stu_info")
public class StudentInfo {
    @DatabaseField(id=true)
    private Integer id ;
    
    @DatabaseField(columnName="name",dataType =DataType.STRING)
    private String name;
    
    @DatabaseField
    private String sex;
    
    @DatabaseField(columnName="student_id",dataType =DataType.STRING)
    private String studentId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }
    
    
}
